<?php include_once './application/views/sys_admin/common/header.php';  ?>
<div class=" definewidth m20">
		<form  action="/sys_admin/cps/cpsmoneylist" method="post" class="form-inline definewidth m20">
			开始时间：<input type="text" id="tstart" name="tstart" value="<?php echo $tstart;?>" size="10" onfocus="WdatePicker({dateFmt:'yyyy-MM '})"  class="Wdate">
			结束时间：<input type="text" id="tend" name="tend" value="<?php echo $tend;?>" size="10" onfocus="WdatePicker({dateFmt:'yyyy-MM '})"  class="Wdate">
  			<button type="button" class="btn btn-primary"  onclick="this.form.submit();" >查询</button>
	  	</form>
		<table class="table table-bordered table-hover definewidth m10">
			 <thead>
			    <tr>
			       <th><strong>序号</strong></th>
					<th><strong>年</strong></th>
					<th><strong>月</strong></th>
					<th><strong>CPS会员数 </strong></th>
					<th><strong>推广注册会员数</th>
					<th><strong>推广充值会员数 </th>
					<th><strong>推广会员理财总金额</th>
					<!-- 
					<th><strong>推广会员还款总额</th>
					 -->
					<th><strong>(应)支佣金金额</th>
					<th><strong>操作</strong></th>
			    </tr>
			   </thead>
			  <?php $statistics_id = 1;foreach($list as $y){ ?>
			  <tr>
			  <td> <?php echo $statistics_id;?></td>
				<td><?php echo $y['year'];?></td>
				<td><?php echo $y['month'];?></td>
				<td><?php echo $y['cpsu_count'];?></td>
				<td><?php echo $y['regu_count'];?></td>
				<td><?php echo $y['rechg_count'];?></td>
				<td><?php echo $y['licaimoney'];?></td>
				<!--  
				<td><?php echo $y['sum_money2'];?></td>
				 -->
				<td><?php echo $y['sum_money'];?></td>
				<td><?php echo $y['rjcnum'];?></td>
				<!--  <td</td> -->
			  </tr>
			  <?php $statistics_id ++;}?>
			  	<tr>
			  	<td colspan="12"  class="invbd_page"><?php echo $this->pagination->create_links();?></td>
			  	</tr>
		</table>
</div>
